package son.nt.util;

import java.io.File;

import android.content.Context;
import android.os.Environment;

public class FileUtil {
	public static String getExternalPackagePath(Context mContext){
		File dataDirector = Environment.getExternalStorageDirectory();
		String packageName = mContext.getPackageName();
		return new File(dataDirector, packageName).getPath();
	}
	
	public static boolean isExternalSD(){
		String path = Environment.getExternalStorageState();
		if(Environment.MEDIA_MOUNTED.equals(path)){
			return true;
		}else{
			return false;
		}
	}

}
